package com.zyl.blog.common.exception;

import lombok.Getter;

/**
 * @version v1.0
 * @ProjectName: Personal_Blog
 * @Package: com.zyl.common.exception
 * @ClassName: OllamaApiException
 * @Description:
 * @Author FinalFantasy
 * @Date 2025/3/14-14:27
 */
@Getter
public class OllamaApiException extends RuntimeException {
    private final boolean clientError;

    public OllamaApiException(String message) {
        super(message);
        this.clientError = false;
    }

    public OllamaApiException(String message, boolean isClientError) {
        super(message);
        this.clientError = isClientError;
    }

}